package com.sys.db.managerImpl;

import java.util.List;

import com.sys.db.dao.LogFlowDao;
import com.sys.db.manager.LogFlowManager;
import com.sys.pojo.LogFlow;

public class LogFlowManagerImpl implements LogFlowManager {
	private LogFlowDao logFlowDao;

	public List findByFlowId(int flowId) throws Exception {
		List list=logFlowDao.findByFlowId(flowId);
		return list;
	}

	public List findByIdDate(int flowId, String date) throws Exception {
		List list=logFlowDao.findByIdDate(flowId, date);
		return list;
	}

	public List findByIdDateSuccess(int flowId, String date) throws Exception {
		List list=logFlowDao.findByIdDateSuccess(flowId, date);
		return list;
	}
	public LogFlow findById(Integer id) throws Exception {
		LogFlow l=logFlowDao.findById(id);
		return l;
	}

	public void update(LogFlow logFlow) throws Exception {
		logFlowDao.update(logFlow);
		
	}
	public void save(LogFlow logFlow) throws Exception {
		logFlowDao.save(logFlow);
	}

	public LogFlowDao getLogFlowDao() {
		return logFlowDao;
	}

	public void setLogFlowDao(LogFlowDao logFlowDao) {
		this.logFlowDao = logFlowDao;
	}

	


}
